Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Public Draw Context Methods


TQARenderAbort

A drawing engine must define a method to cancel any asynchronous drawing requests for a draw context.

typedef TQAError (*TQARenderAbort) ( 
                                    const TQADrawContext *drawContext);
drawContext
A draw context.
DESCRIPTION
Your TQARenderAbort function should immediately stop processing any asynchronous drawing command it is currently processing and it should discard any queued commands associated with the draw context specified by the drawContext parameter.

Your TQARenderAbort function should return a result code (of type TQAError) indicating whether any errors have occurred since the previous call to your TQARenderStart function. If all rendering commands completed successfully, you should return the value kQANoErr. If you return any other value, the code that called QARenderEnd should assume that the rendered image is incorrect.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996